package com.market.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author xd
 * @since 2024-03-26
 */
public class Contract implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标题
     */
    private String title;

    /**
     * 关联摊位ID
     */
    private Integer boothId;

    /**
     * 合同开始日期
     */
    private String startDate;

    /**
     * 合同结束日期
     */
    private String endDate;

    /**
     * 租赁期限（单位/月）
     */
    private Integer rentalTerm;

    /**
     * 摊主姓名
     */
    private String AName;

    /**
     * 摊主电话
     */
    private String APhone;

    /**
     * 租赁人姓名
     */
    private String BName;

    /**
     * 租赁人电话
     */
    private String BPhone;

    /**
     * 甲方签字日期
     */
    private String aSignDate;

    /**
     * 乙方签字日期
     */
    private String bSignDate;

    /**
     * 摊主ID
     */
    private Integer AId;

    /**
     * 租户ID
     */
    private Integer BId;

    @Override
    public String toString() {
        return "Contract{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", boothId=" + boothId +
                ", startDate='" + startDate + '\'' +
                ", endDate='" + endDate + '\'' +
                ", rentalTerm=" + rentalTerm +
                ", AName='" + AName + '\'' +
                ", APhone='" + APhone + '\'' +
                ", BName='" + BName + '\'' +
                ", BPhone='" + BPhone + '\'' +
                ", aSignDate='" + aSignDate + '\'' +
                ", bSignDate='" + bSignDate + '\'' +
                ", AId=" + AId +
                ", BId=" + BId +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getBoothId() {
        return boothId;
    }

    public void setBoothId(Integer boothId) {
        this.boothId = boothId;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Integer getRentalTerm() {
        return rentalTerm;
    }

    public void setRentalTerm(Integer rentalTerm) {
        this.rentalTerm = rentalTerm;
    }

    public String getAName() {
        return AName;
    }

    public void setAName(String AName) {
        this.AName = AName;
    }

    public String getAPhone() {
        return APhone;
    }

    public void setAPhone(String APhone) {
        this.APhone = APhone;
    }

    public String getBName() {
        return BName;
    }

    public void setBName(String BName) {
        this.BName = BName;
    }

    public String getBPhone() {
        return BPhone;
    }

    public void setBPhone(String BPhone) {
        this.BPhone = BPhone;
    }

    public String getaSignDate() {
        return aSignDate;
    }

    public void setaSignDate(String aSignDate) {
        this.aSignDate = aSignDate;
    }

    public String getbSignDate() {
        return bSignDate;
    }

    public void setbSignDate(String bSignDate) {
        this.bSignDate = bSignDate;
    }

    public Integer getAId() {
        return AId;
    }

    public void setAId(Integer AId) {
        this.AId = AId;
    }

    public Integer getBId() {
        return BId;
    }

    public void setBId(Integer BId) {
        this.BId = BId;
    }
}
